<div class="questions form">
<?php echo $this->Form->create('Question');?>
	<fieldset>
 		<legend><?php echo __('Editar Pregunta'); ?></legend>
	<?php
		echo $this->Form->input('id');
		echo $this->Form->input('topic_id', array('label'=>'Módulo'));
		echo $this->Form->input('text', array('label'=>'Pregunta'));
	?>
	</fieldset>
<?php echo $this->Form->end(__('Guardar'));?>
</div>
<div class="actions">
	<h3><?php __(''); ?></h3>
	<ul>

		<li><?php echo $this->Html->link(__('Eliminar', true), array('action' => 'delete', $this->Form->value('Question.id')), null, sprintf(__('¿Está seguro que desea eliminar la pregunta %s?', true), $this->Form->value('Question.id'))); ?></li>
		<li><?php echo $this->Html->link(__('Listar Preguntas', true), array('action' => 'index'));?></li>
		<li><?php echo $this->Html->link(__('Listar Módulos', true), array('controller' => 'topics', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Nuevo Módulo', true), array('controller' => 'topics', 'action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('Listar Respuestas', true), array('controller' => 'choices', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('Nueva Respuesta', true), array('controller' => 'choices', 'action' => 'add')); ?> </li>
</div>
